import { advancedAllList } from '../../http/http'

// 水厂，管网数据源
const dataSource = async (data) => {
  const res = await advancedAllList(data)
  if (res.status === 200) {
    return res.data.returnValue.result
  } else {
    return []
  }
}

export { dataSource };